package biz.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import biz.domain.User;
import biz.dao.UserDao;
import biz.service.UserService;

@Service
public class LoginServiceImpl implements UserService {
	    @Autowired
	    private UserDao userDao;
	    public List<User> findUser() {
	        return userDao.findUser();
	    }
		public boolean findUser(User user) {
			return userDao.findUser(user);
		}
	    public void addUser(User user) {
	        userDao.addUser(user);
	    }
	    public void removeUser(User user) {
	        userDao.removeUser(user);
	    }
	    public void updateUser(User user) {
	        userDao.updateUser(user);
	    }
}
